<table class="table table-condensed table-hover">
    <tbody ng-repeat="branchInfo in infos">
    <tr class="info">
        <td colspan="2">
            Project
            <a href="#/project/{{branchInfo.branch.project.id}}">{{branchInfo.branch.project.name}}</a>
            Branch
            <a href="#/branch/{{branchInfo.branch.id}}">{{branchInfo.branch.name}}</a>
        </td>
    </tr>
    <!-- No build -->
    <tr ng-if="!branchInfo.buildView">
        <td colspan="2" class="ot-description">
            Not included in any build
        </td>
    </tr>
    <!-- Build -->
    <tr ng-if="branchInfo.buildView">
        <td>
            First build
        </td>
        <td>
            <a href="#/build/{{branchInfo.buildView.build.id}}">{{branchInfo.buildView.build.name}}</a>
        </td>
    </tr>
    <!-- Validation stamps -->
    <tr ng-if="branchInfo.buildView">
        <td>
            Validation stamps
        </td>
        <td>
            <span ng-repeat="validationStampRunView in branchInfo.buildView.validationStampRunViews"
                  class="ot-extension-scm-validationStampRunView">
                <ot-validation-stamp-run-view
                        validation-stamp-run-view="validationStampRunView"></ot-validation-stamp-run-view>
            </span>
        </td>
    </tr>
    <!-- Promotions -->
    <tr ng-repeat="promotionView in branchInfo.branchStatusView.promotions">
        <td>
            <a href="#/promotionLevel/{{promotionView.promotionLevel.id}}">
                <ot-entity-image entity="promotionView.promotionLevel"></ot-entity-image>
                {{promotionView.promotionLevel.name}}
            </a>
        </td>
        <td>
                                        <span class="ot-description" ng-if="!promotionView.promotionRun">
                                            The revision was never promoted to this promotion level.
                                        </span>
                                        <span ng-if="promotionView.promotionRun">
                                            <span class="fa fa-arrow-right"></span>
                                            <a href="#/build/{{promotionView.promotionRun.build.id}}">
                                                {{promotionView.promotionRun.build.name}}
                                            </a>
                                            <ot-signature value="promotionView.promotionRun.signature"></ot-signature>
                                        </span>
        </td>
    </tr>
    </tbody>
</table>